/**
 * 
 */
package com.baijia.tianxiao.push.service;

import java.util.List;

import com.baijia.tianxiao.push.enums.DeviceTypeEnum;
import com.baijia.tianxiao.push.model.PushChannelConfig;

/**
 * @author leiruiqi
 *
 */
public interface PushChannelConfigService {

	PushChannelConfig getByChannelTypeAndId(String channelType,DeviceTypeEnum deviceType,String appId,Integer developStatus);
	
	PushChannelConfig getById(Long id);
	
	PushChannelConfig getByChannelTypeAndIdByCache(String channelType,DeviceTypeEnum deviceType,String appId,Integer developStatus);
	
	List<PushChannelConfig> queryEeffectByChannelType(String channelType);
	
	void refresh();
	
	void save(PushChannelConfig pushChannelApp);
	
	void updateOne(PushChannelConfig pushChannelApp);
	
	List<PushChannelConfig> queryAllByStatus(Integer status);
	
}
